﻿using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 作业物料需求参数模型
    /// </summary>
    [DataContract]
    public struct ExecutionMaterialAskParam
    {
        /// <summary>
        /// 物料定义Id
        /// </summary>
        [DataMember]
        public Guid materialId;

        /// <summary>
        /// 物料批次Id
        /// </summary>
        [DataMember]
        public Guid? materialLotId;

        /// <summary>
        /// 数量
        /// </summary>
        [DataMember]
        public decimal quantity;

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int sort;

        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string description;
    }
}
